import type { LoginPO } from '@/types/auth.d'
import http from '@/http'

export const login = (data: LoginPO) => {
	return http.post('auth/login', data)
}